/**
 * 
 */
package com.et114.modules.products.search;

import java.util.Date;

import org.compass.annotations.Index;
import org.compass.annotations.Searchable;
import org.compass.annotations.SearchableId;
import org.compass.annotations.SearchableProperty;
import org.compass.annotations.Store;

import com.et114.components.compass.ICompass;

/**
 * @author guanhw
 */
@ Searchable ( alias = "searchVo" )
public class SearchVo implements java.io.Serializable , ICompass {
	private static final long	serialVersionUID	= 4962607463430148803L;
	@ SearchableId( index = Index.TOKENIZED , store = Store.YES )
	private Long				proId;
	@ SearchableId( index = Index.NO , store = Store.YES )
	private Byte				proType;
	
	@ SearchableProperty ( index = Index.TOKENIZED , store = Store.YES )
	private String				proTitle;
	
	@ SearchableProperty ( index = Index.TOKENIZED , store = Store.YES )
	private String				proContent;
	
	@ SearchableProperty ( index = Index.TOKENIZED , store = Store.YES )
	private String				subj;
	
	@ SearchableProperty ( index = Index.TOKENIZED , store = Store.YES )
	private String				proSupplierName;
	
	@ SearchableProperty ( index = Index.TOKENIZED , store = Store.YES )
	private String				brandEgn;
	
	@ SearchableProperty ( index = Index.TOKENIZED , store = Store.YES )
	private String				brandCn;
	@ SearchableProperty ( index = Index.TOKENIZED , store = Store.YES )
	private String				model;
	@ SearchableProperty ( index = Index.NO , store = Store.YES )
	private String              imagePath ; 
	
	@ SearchableProperty ( index = Index.NO , store = Store.YES )
	private String              proSupplierImg ; 
	
	public static Date			updateTimeFrom;
	
	
	public SearchVo( ){ } 
	public SearchVo( Long proId ){ 
		this.proId = proId ; 
	} 
	public String getProTitle ( ) {
		return proTitle;
	}
	
	public void setProTitle ( String proTitle ) {
		this.proTitle = proTitle;
	}
	
	public String getProContent ( ) {
		return proContent;
	}
	
	public void setProContent ( String proContent ) {
		this.proContent = proContent;
	}
	
	public Byte getProType ( ) {
		return proType;
	}
	
	public void setProType ( Byte proType ) {
		this.proType = proType;
	}
	
	public String getSubj ( ) {
		return subj;
	}
	
	public void setSubj ( String subj ) {
		this.subj = subj;
	}
	
	public Long getProId ( ) {
		return proId;
	}
	
	public void setProId ( Long proId ) {
		this.proId = proId;
	}
	
	public String getProSupplierName ( ) {
		return proSupplierName;
	}
	
	public void setProSupplierName ( String proSupplierName ) {
		this.proSupplierName = proSupplierName;
	}
	
	public String getBrandEgn ( ) {
		return brandEgn;
	}
	
	public void setBrandEgn ( String brandEgn ) {
		this.brandEgn = brandEgn;
	}
	
	public String getBrandCn ( ) {
		return brandCn;
	}
	
	public void setBrandCn ( String brandCn ) {
		this.brandCn = brandCn;
	}
	
	public String getModel ( ) {
		return model;
	}
	
	public void setModel ( String model ) {
		this.model = model;
	}
	
	public Date getUpdateTimeFrom ( ) {
		return updateTimeFrom;
	}
	
	public void setUpdateTimeFrom ( Date updateTimeFrom ) {
		SearchVo.updateTimeFrom = updateTimeFrom;
	}

	public String getImagePath ( ) {
		return imagePath;
	}

	public void setImagePath ( String imagePath ) {
		this.imagePath = imagePath;
	}

	public String getProSupplierImg ( ) {
		return proSupplierImg;
	}

	public void setProSupplierImg ( String proSupplierImg ) {
		this.proSupplierImg = proSupplierImg;
	}
	
}
